﻿using FreeSql.DataAnnotations;
using ManaMaple.DB.Entity;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace ManaMaple.Entity.Sys
{
    /// <summary>
    /// 角色表
    /// </summary>
    [Description("角色表"), Table(Name = "sys_role")]
    public class sys_role : VersionEntity
    {
        /// <summary>
        /// 角色名称
        /// </summary>
        [Column(Name = "role_name")]
        public string RoleName { get; set; } = string.Empty;

        /// <summary>
        /// 角色别名
        /// </summary>
        [Column(Name = "alias")]
        public string Rlias { get; set; } = string.Empty;
        /// <summary>
        /// 描述
        /// </summary>
        [Column(Name = "description")]
        public string Description { get; set; } = string.Empty;
    }
}
